Skip to content

Fix mel inputs passed to GST Reference Encoder#94

Open
ilya16 wants to merge 1 commit intoNVIDIA:masterfrom
ilya16:fix-ref-enc
Open

Fix mel inputs passed to GST Reference Encoder#94
ilya16 wants to merge 1 commit intoNVIDIA:masterfrom
ilya16:fix-ref-enc

Conversation

@ilya16
Copy link

@ilya16 ilya16 commented Feb 9, 2021

In the current implementation, mel inputs passed to GST module (targets) have shape [B, n_mel_channels, T_out] and are reshaped to [B, 1, T_out, n_mel_channels] by GST Reference Encoder. As a result, Reference Encoder works not with original spectrograms.

This PR fixes the shape of GST inputs and adds an additional inputs shape check in ReferenceEncoder.

+ modules.py: checking input dimensions in ReferenceEncoder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant